<?php
    $this->title = "Evento modificato.";
    $this->headTitle($this->title);

    $allDisco = $this->allDisco;
    $zonaList = $this->zonaList;
?>
<?php
/**
 *  dispay all disco in  sponsor0
 */
$line = '<div id="box">';
foreach ($allDisco as $key=>$allDisco2){
    $line_new = '<h2><a href="'. $this->url(array('controller'=>'Club',
                                                  'name'=> $allDisco2[0],
                                                   ), 'locale', TRUE) .'">' . $allDisco2[1]
              . '</a></h2>';
    $line = $line . $line_new;
    }
$line = $line . '</div>';
$this->layout()->sponsor0 = $line;

/**
 * dispay all "provincia" in  provincia
 */
$line4 = '';
foreach ($zonaList as $key=>$zonaList2){
    $line4_new = '<h2><a href="'. $this->baseUrl() . '/index/provincia/id/'
            . $zonaList2.'">' . $zonaList2
            . '</a></h2>';
    $line4 = $line4 . $line4_new;
    }
$line4 = $line4 . '';
$this->layout()->provincia = $line4;
?>
<?php
    if ($this->isError==1){ // error in the form
       echo $this->form;

       }
    else{
        echo "<h5>Evento modificato con successo!</h5>";
    }
?>
<a href="<?=$this->url(array('controller' => 'admin', 'action' => 'index'), 'admin', true );?>"><- Pannello amministrazione
</a>